package com.example.saifly.login;

import java.util.Date;

public class PatientInfomation {
    private String patientPhone;

    private String patientName;

    private String patientContactPhone;

    private String patientSex;

    private Date patientBirthday;

    private Integer patientHeight;

    private Integer patientWeight;

    private String patientAvatar;

    private String patientHome;

    public String getPatientPhone() {
        return patientPhone;
    }

    public PatientInfomation() {}

    @Override
    public String toString() {
        return "PatientInfomation{" +
                "patientPhone='" + patientPhone + '\'' +
                ", patientName='" + patientName + '\'' +
                ", patientContactPhone='" + patientContactPhone + '\'' +
                ", patientSex='" + patientSex + '\'' +
                ", patientBirthday=" + patientBirthday +
                ", patientHeight=" + patientHeight +
                ", patientWeight=" + patientWeight +
                ", patientAvatar='" + patientAvatar + '\'' +
                ", patientHome='" + patientHome + '\'' +
                '}';
    }

    public PatientInfomation(String patientPhone, String patientName,
                             String patientContactPhone, String patientSex,
                             Date patientBirthday, Integer patientHeight,
                             Integer patientWeight, String patientAvatar,
                             String patientHome) {
        this.patientPhone = patientPhone;
        this.patientName = patientName;
        this.patientContactPhone = patientContactPhone;
        this.patientSex = patientSex;
        this.patientBirthday = patientBirthday;
        this.patientHeight = patientHeight;
        this.patientWeight = patientWeight;
        this.patientAvatar = patientAvatar;
        this.patientHome = patientHome;
    }

    public void setPatientPhone(String patientPhone) {
        this.patientPhone = patientPhone == null ? null : patientPhone.trim();
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName == null ? null : patientName.trim();
    }

    public String getPatientContactPhone() {
        return patientContactPhone;
    }

    public void setPatientContactPhone(String patientContactPhone) {
        this.patientContactPhone = patientContactPhone == null ? null : patientContactPhone.trim();
    }

    public String getPatientSex() {
        return patientSex;
    }

    public void setPatientSex(String patientSex) {
        this.patientSex = patientSex == null ? null : patientSex.trim();
    }

    public Date getPatientBirthday() {
        return patientBirthday;
    }

    public void setPatientBirthday(Date patientBirthday) {
        this.patientBirthday = patientBirthday;
    }

    public Integer getPatientHeight() {
        return patientHeight;
    }

    public void setPatientHeight(Integer patientHeight) {
        this.patientHeight = patientHeight;
    }

    public Integer getPatientWeight() {
        return patientWeight;
    }

    public void setPatientWeight(Integer patientWeight) {
        this.patientWeight = patientWeight;
    }

    public String getPatientAvatar() {
        return patientAvatar;
    }

    public void setPatientAvatar(String patientAvatar) {
        this.patientAvatar = patientAvatar == null ? null : patientAvatar.trim();
    }

    public String getPatientHome() {
        return patientHome;
    }

    public void setPatientHome(String patientHome) {
        this.patientHome = patientHome == null ? null : patientHome.trim();
    }
}